ReadMe for Replication materials for "Electoral systems, partisan politics, and income redistribution: A critical quasi-experiment"

February 12, 2023

Michał Pierzgalski
Univeristy of Lodz
pierzgal@gmail.com

MAciej A. Górecki
University of Warsaw
goreckim@is.uw.edu.pl


# List of files stored at (CPS) Harvard Dataverse:
  readme.txt -- This file, which lists all files and dependencies necessary to verify the results from this manuscript
	raw_workspace_1.2.23.RData (RStudio workspace -- contains all data sets)
	rep_R_code_v.0.9.9.R (contains the R code)
	appendix_CPS_v.0.9.9_Electoral_systems_partisan politics_and income_redistribution.pdf -- (online) Appendix


## Computing environment
  Operating system: macOS Ventura 13.1
	Processor: 1.4 GHz Quad-Core Intel Core i5
	Statistical software: R version 4.2.2 (2022-10-31) -- "Innocent and Trusting" and RStudio 2022.12.0


## R packages 
  tidyverse1.3.2
  panelView1.1.11
  bpCausal0.0.1 (GitHub version)
  ggpubr0.5.0
  coda0.19-4 


### DATA FILES

raw_workspace_1.2.23 -- This RStudio workspace contains all data


### CODE

Use the R code in "rep_R_code_v.0.9.9.R" to reproduce analyses summarized in the paper and in the (online) appendix. The scripts include all relevant packages, including installation commands, to run the code:

1. open RStudio;
2. load RStudio workspace ("raw_workspace_1.2.23.RData") that includes data sets;
3. open "rep_R_code_v.0.9.9.R"; use the R code in this file to reproduce the main results and sensitivity analyses.
